/*
 * @Author: Siogo 你的邮箱
 * @Date: 2025-09-29 18:31:52
 * @LastEditors: Siogo 你的邮箱
 * @LastEditTime: 2025-11-21 09:48:58
 * @FilePath: /frontend/src/locales/lang/en/tb.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
  home: 'Home',
  deviceIn: 'Device Access',
  tenant: 'Tenant',
  tenantManagement: 'Tenant Management',
  customer: 'Customer',
  tenantList: 'Tenant List',
  tenantAdmin: 'Tenant Admin',
  customerUser: 'Customer User',
  tenantProfile: 'Tenant Profile',
  tenantGroup: 'Tenant Groups',
  resource: 'Resource',
  widgetsBundle: 'Widgets Bundle',
  widgetType: 'Widget Type',
  resourceLibrary: 'Resource Library',
  notification_center: 'Notification Center',
  notification_list: 'Notification List',
  notification_request_list: 'Sent Records',
  notification_template_list: 'Template',
  notification_recipient_list: 'Recipient',
  notification_rule_list: 'Notification Rule',
  adminSetting: 'Setting',
  auditLog: 'Audit Log',
  ruleChain: 'Rule Chains',
  ruleChainDetail: 'Rule Chain Detail',
  profile: 'Profile',
  assetProfile: 'Asset Profile',
  deviceProfile: 'Device Profile',
  alarm: 'Alarm',
  device: 'Device',
  entity: 'Entity',
  asset: 'Asset',
  entityView: 'Entity View',
  ota: 'OTA Update',
  images: 'Image Library',
  scadaSymbols: 'SCADA Symbols',
  role: 'Role',
  roleManagement: 'Role Management',
  roleName: 'Role Name',
  rolePermission: 'Role Permission',
  permissionCount: 'Permission Count',
  configPermission: 'Config Permission',
  createRole: 'Create Role',
  editRole: 'Edit Role',
  deleteRole: 'Delete Role',
  savePermission: 'Save Permission',
  请选择角色: 'Please select a role',
  commandDispatch: 'Dispatch Command',
  commandField: 'Command',
  commandParamsField: 'Params',
  commandParamsPlaceholder: 'Enter command params (optional)',
  commandSelectedHint: '{count} devices selected',
  commandConfirmTitle: 'Confirm Dispatch',
  commandConfirmDesc: 'Send the current command to {count} devices?',
  commandSuccess: 'Command dispatched successfully!',
  commandFailed: 'Failed to dispatch command, please retry later.',
  commandOptionShutdown: 'Shutdown Terminal',
  commandOptionReboot: 'Reboot Terminal',
  commandOptionCustom: 'Custom',
  deviceAddress: 'Device Address',
  tabs: {
    baseInfo: 'Base Info',
    dataSource: 'Data Sources',
    dataResource: 'Data Resources',
    dataProduct: 'Data Product',
    detail: 'Details',
    telemetry: 'Telemetry',
    alarm: 'Alarms',
    event: 'Events',
    relation: 'Relations',
    auditLog: 'AuditLogs',
  },
  dataSourceInfo: {
    searchPlaceholder: 'Search by name / ID / remark',
    add: 'Add Data Source',
    tabs: {
      database: 'Database',
      api: 'API',
      file: 'File',
    },
    columns: {
      id: 'Data Source ID',
      name: 'Name',
      type: 'Type',
      ip: 'IP',
      port: 'Port',
      username: 'Username',
      password: 'Password',
      config: 'Configuration',
      owner: 'Owner',
      remark: 'Remark',
      action: 'Actions',
    },
    actions: {
      edit: 'Edit',
      remove: 'Delete',
      test: 'Test Connection',
      batchDelete: 'Batch Delete',
      deleteConfirm: 'Are you sure to delete this data source? This action cannot be undone.',
      batchDeleteConfirm: 'Confirm batch delete data sources?',
      deleteSuccess: 'Data source deleted successfully',
      batchDeleteSuccess: 'Batch delete successful',
      featurePending: 'Feature under development',
    },
    selectedCount: 'Selected',
    emptyConfig: '--',
  },
  dataResource: {
    searchPlaceholder: 'Search resource name / description / data source',
    createTip: 'After creating a data resource, call the public authorization platform API to finish registration.',
    types: {
      database: 'Database',
      api: 'API',
      file: 'File',
    },
    columns: {
      name: 'Resource Name',
      desc: 'Description',
      sourceName: 'Data Source Name',
      sourceId: 'Data Source ID',
      method: 'Delivery Method',
      interval: 'Collection Interval',
      level: 'Privacy Level',
      table: 'Table Name',
      action: 'Actions',
    },
    actions: {
      add: 'Add Data Resource',
      start: 'Start',
      edit: 'Edit',
      stop: 'Stop',
      delete: 'Delete',
      deleteConfirm: 'Delete this data resource?',
      refresh: 'Refresh',
      search: 'Search',
      batchDelete: 'Batch Delete',
      batchDeleteConfirm: 'Confirm batch delete data resources?',
      batchDeleteSuccess: 'Batch delete success',
    },
    methods: {
      local: 'Local Storage',
      remote: 'Remote Storage',
    },
    level: {
      low: 'Low',
      medium: 'Medium',
      high: 'High',
    },
    status: {
      enabled: 'Enabled',
      disabled: 'Disabled',
    },
    modal: {
      createTitle: 'Add Data Resource',
      editTitle: 'Edit Data Resource',
      basicInfo: 'Basic Information',
      fieldMapping: 'Field Mapping & Masking Configuration',
      resourceType: 'Resource Type',
      dataSource: 'Data Source',
      dataSourceInfo: 'Data Source Info',
      description: 'Description',
      tableSelection: 'Table Selection',
      refreshTables: 'Refresh Tables',
      noTablesAvailable: 'No tables available',
      columns: {
        originalField: 'Original Field',
        fieldMapping: 'Field Mapping',
        maskingRule: 'Masking Rule',
      },
      masking: {
        none: 'None',
        hash: 'Hash',
        middle: 'Middle Masking',
        prefix: 'Prefix Keep',
        suffix: 'Suffix Keep',
      },
      placeholders: {
        dataSourceInfo: 'Auto-display selected data source connection info',
        fieldMapping: 'Enter target field name',
      },
      messages: {
        selectDataSource: 'Please select a data source first',
        fetchTablesError: 'Failed to fetch table list',
      },
    },
    form: {
      resourceName: 'Resource Name',
      dataSourceName: 'Data Source',
      method: 'Delivery Method',
      level: 'Privacy Level',
      interval: 'Collection Interval',
      enabled: 'Status',
      remark: 'Description',
      placeholders: {
        resourceName: 'Enter resource name',
        dataSource: 'Select a data source',
        interval: 'Select collection date',
        status: 'Select status',
        remark: 'Enter remark',
      },
    },
    messages: {
      fetchError: 'Failed to load data resources',
      startSuccess: 'Resource started',
      stopSuccess: 'Resource stopped',
      toggleError: 'Failed to toggle resource status',
      missingName: 'Missing resource identifier',
      deviceMissing: 'Device ID is required for this operation',
      dataSourceMissing: 'Please select a data source',
      deleteSuccess: 'Resource deleted',
      deleteError: 'Failed to delete resource',
      batchDeleteSuccess: 'Batch delete succeeded',
      batchDeleteError: 'Batch delete failed',
      updateSuccess: 'Resource updated',
      createSuccess: 'Resource created',
      submitError: 'Failed to submit resource',
      selectResource: 'Select at least one data resource first',
    },
    selectedCount: 'Selected',
  },
  dataProduct: {
    columns: {
      productName: 'Product Name',
      industry: 'Industry',
      dataSize: 'Data Size',
      description: 'Description',
      dataSubject: 'Data Subject',
      providerName: 'Provider Name',
      identityId: 'Identity ID',
      payMethod: 'Payment Method',
      resourceId: 'Associated Resources',
    },
    types: {
      individual: 'Personal Information',
      enterprise: 'Enterprise Data',
      public: 'Public Data',
    },
    payMethods: {
      monthly: 'Monthly',
      quarterly: 'Quarterly',
      yearly: 'Yearly',
    },
    actions: {
      add: 'Add Data Product',
      edit: 'Edit',
      delete: 'Delete',
      enable: 'Publish',
      disable: 'Unpublish',
      refresh: 'Refresh Data',
      search: 'Search',
      batchDelete: 'Batch Delete',
      deleteConfirm: 'Confirm delete this data product?',
      batchDeleteConfirm: 'Confirm batch delete data products?',
      enableConfirm: 'Confirm publish this data product?',
      disableConfirm: 'Confirm unpublish this data product?',
    },
    messages: {
      fetchError: 'Failed to fetch data product list',
      deleteSuccess: 'Data product deleted successfully',
      batchDeleteSuccess: 'Batch delete successful',
      updateSuccess: 'Data product updated successfully',
      createSuccess: 'Data product created successfully',
      submitError: 'Failed to submit data product',
      enableSuccess: 'Published successfully',
      disableSuccess: 'Unpublished successfully',
    },
    modal: {
      createTitle: 'Add Data Product',
      editTitle: 'Edit Data Product',
    },
    form: {
      productName: 'Product Name',
      industry: 'Industry',
      dataSize: 'Data Size',
      description: 'Description',
      dataSubject: 'Data Subject',
      providerName: 'Provider Name',
      identityId: 'Identity ID',
      payMethod: 'Payment Method',
      resourceId: 'Associated Resources',
      enabled: 'Published',
      placeholders: {
        productName: 'Enter product name',
        industry: 'Enter industry',
        dataSize: 'Enter data size',
        description: 'Enter description',
        dataSubject: 'Select data subject',
        providerName: 'Enter provider name',
        identityId: 'Enter identity ID',
        payMethod: 'Select payment method',
        resourceId: 'Select associated resources',
      },
    },
    searchPlaceholder: 'Search by product name, description or provider',
    selectedCount: 'Selected',
    resourceSelected: '{count} resource(s) selected',
  },
  baseInfo: {
    sections: {
      summary: 'Overview',
      basic: 'Basic Info',
      network: 'Network Status',
      pipeline: 'Data Pipelines',
      resources: 'Resource Usage',
      alerts: 'Alerts',
    },
    summary: {
      onlineStatus: 'Online Status',
      alertCount: 'Alerts',
      todayDataVolume: 'Today Data Volume',
      datasourceTotal: 'Total Data Sources',
      lastSync: 'Last Sync',
      needHandle: 'Need immediate action',
      compareYesterday: 'vs yesterday',
    },
    fields: {
      nodeName: 'Gateway Name',
      gatewayId: 'Gateway ID',
      ip: 'IP',
      group: 'Group',
      operator: 'Operator',
      brand: 'Brand',
    },
    network: {
      upload: 'Upload Speed',
      download: 'Download Speed',
      vpn: 'VPN Status',
      duration: 'Uptime',
      connected: 'Connected',
      disconnected: 'Disconnected',
      speedAxis: 'Speed (Kbps)',
    },
    pipeline: {
      collect: 'Data Collection',
      deliver: 'Data Delivery',
      receive: 'Data Receiving',
      blocks: {
        current: 'Current {label}',
        history: 'Last {label}',
      },
      stats: {
        taskCount: 'Tasks',
        orderCount: 'Orders',
        todayFinished: 'Today Completed',
        monthFinished: 'This Month Completed',
        inProgress: 'In Progress',
      },
      statuses: {
        processing: 'Processing',
        paused: 'Paused',
        success: 'Completed',
        stopped: 'Stopped',
      },
      actions: {
        create: 'New {label} task',
        viewDetail: 'View detail',
      },
      placeholders: {
        noCurrent: 'No running task',
        noHistory: 'No history',
      },
    },
    alerts: {
      title: 'Alerts',
      more: 'View more',
      handle: 'Handle',
      ignore: 'Ignore',
      empty: 'No alerts',
    },
    resources: {
      memory: 'Memory Usage',
      cpu: 'CPU Usage',
      disk: 'Disk Usage',
      used: 'Used',
      available: 'Available',
    },
  },
  opsMonitoring: {
    menu: 'Ops Monitoring',
    service: 'Service Ops (Harbor)',
    release: 'Release Center (K8s Dashboard)',
    registry: 'Registry (Jenkins)',
    system: 'System Monitoring (Prometheus)',
    dataBoard: 'Data Dashboard (Grafana)',
    dashboard: 'Platform Status Dashboard (Grafana)',
    alert: 'Alert Management (Grafana Alerting Rules)',
  },
};
